package com.conoic.xcj.boot.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class TestController extends BaseController{

    private static final Logger logger = LoggerFactory.getLogger(TestController.class);


    @RequestMapping(value = "/send/{id}")
    @ResponseBody
    public String test(@PathVariable("id") String id) {
        logger.info("输入的值为：{}", id);

        return id;

    }
}
